# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Localitati)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Localitati_SRCS localitatiplugin.cpp localitati.cpp)
QT4_WRAP_CPP(Localitati_SRCS localitatiplugin.h localitati.h)
QT4_WRAP_UI(Localitati_SRCS localitati.ui)
QT4_ADD_RESOURCES(Localitati_SRCS localitati.qrc)

add_library(Localitati SHARED ${Localitati_SRCS})
add_dependencies(Localitati KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Localitati KontAMabil ${QT_LIBRARIES})

install(TARGETS Localitati ${INSTALL_PLUGINS_DEFAULT_ARGS})
